package com.zbar.view;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.view.View;

public abstract class BaseFinderView extends View {

	public BaseFinderView(Context context) {
		super(context);
	}

	public BaseFinderView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public BaseFinderView(Context context, AttributeSet attrs, int defStyleAttr) {
		super(context, attrs, defStyleAttr);
	}

	public abstract void drawViewfinder();

	public abstract void drawResultBitmap(Bitmap barcode);

	public abstract Rect getScanImageRect(int w, int h);
}
